const axios = require('axios');

axios.delete("http://localhost:3000/product/3")
.then(res => {
    console.log(res.data);
})
    .catch(err => {
    console.error(err)
})